package com.caijinbang.study;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * 主程序入口
 * 使用 @EnableScheduling 表述允许使用定时任务
 *
 * @author caijb
 * @date 2018-04-20 10:15
 */
@SpringBootApplication
@EnableScheduling
@EnableWebMvc
public class StudyApplication {

    public static void main(String[] args) {
        SpringApplication.run(StudyApplication.class, args);
    }
}
